<p class="Head1"><help:paragraphinfo state="U" number="1"/><help:key-word value="GetAttr; function" tag="kw66583_1"/><help:link Id="66583">GetAttr Function [Runtime]</help:link></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="2"/>Returns a bit pattern that identifies the file type or the name of a volume or a directory.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Text:</span> Any string expression that contains an unambiguous file specification. You can also use <help:link Id="66636" Eid="urllocal" xmlns:help="http://openoffice.org/2000/help">URL notation</help:link>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>This function determines the attributes for a specified file and returns the bit pattern that can help you to identify the following file attributes:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="15" xmlns:help="http://openoffice.org/2000/help"/>8 : Returns the name of the volume</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/>16 : Returns the name of the directory only.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>32 : File was changed since last backup (Archive bit).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="18" xmlns:help="http://openoffice.org/2000/help"/>If you want to know if a bit of the attribute byte is set, use the following query method:</p>